#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
int main()
{
	int password;
	const char old[10] = "wind";
	const char* p = old;
	scanf("%d", &password);
	while (*p)
	{
		printf("#%c", p + password);
		p++;
	}
	printf("\n");
	return 0;
	/*int n = 0;
	scanf("%d", &n);
	printf("%d", n);
	return 0;*/

}